Check If XML File Is Well Formed
Description
Check If XML File Is Well Formed verifies that one or more XML files are well-formed according to XML syntax rules. Use this process entry to validate XML files before schema validation or processing — for example, catching malformed tags, missing closing elements, or encoding errors in files received from external sources. It supports wildcard-based file selection and recursive directory searching to check multiple files in a single operation.
Configurations
| Field Name | Description |
|---|---|
| Process entry name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
| General Tab | |
| Settings: | |
| Include subfolders | Select checkbox to include sub-folders. |
| Copy previous results to args | Check this to pass the results of the previous entry to the arguments of this entry. Be careful, arguments must be in the same order as that of arguments i.e. i.source folder/file ii. wildcard |
| File/Folder source | Specify a File/Folder source or browse. |
| Add | Click to add the file/folder to the Files/Folders table. |
| File… | Click to browse a file. |
| Folder… | Click to browse a folder. |
| Wildcard(RegExp) | Specify the regular expressions wildcard to match. Only files that match the wildcard can be checked. |
| Files/Folders: | |
| Files/Folder Source | Specify the file or folder to process. If it is a folder Process Studio will fetch only if ‘Include subfolders’ is checked. |
| Wildcard(RegExp) | Specify the regular expressions wildcard to match. Only files that match the wildcard can be moved. |
| Delete | Select a record in the this table and click the delete button to delete the record. |
| Edit | Select a record in the this table and click the edit button to edit the record. |
| Advanced Tab: | |
| Success On: | |
| Success Condition | Select a success condition from the list. |
| Nr files | Specify the number of files in case the second or third options are selected in the Success Condition. |
| Result files name: | |
| Add filenames | Select an option from the drop-down list for adding filenames to the result. |
